<template>
  <div @click="handleError">错误页面</div>
</template>

<script setup lang="ts">
const props = defineProps({
  error: Object,
});


const handleError = () => clearError({ redirect: "/" });
</script>
